import gulp from 'gulp';
import gulpif from 'gulp-if';
import livereload from 'gulp-livereload';
import args from './util/args';

gulp.task('sources',()=>{
  return gulp.src('app/sources/*')
    .pipe(gulp.dest('server/public/sources'))
    .pipe(gulpif(args.watch,livereload()));
});
